CVE-2026-7598
libssh2 userauth.c userauth_password integer overflow
Description
A security vulnerability has been detected in libssh2 up to 1.11.1. The impacted element is the function userauth_password of the file src/userauth.c. Such manipulation of the argument username_len/password_len leads to integer overflow. The attack may be launched remotely. The name of the patch is 256d04b60d80bf1190e96b0ad1e91b2174d744b1. A patch should be applied to remediate this issue.
INFO
Published Date :
May 1, 2026, 10:16 p.m.
Last Modified :
May 7, 2026, 1:47 a.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 2.0 | HIGH | [email protected] | ||||
| CVSS 3.1 | HIGH | [email protected] | ||||
| CVSS 4.0 | MEDIUM | [email protected] |
Solution
- Apply the patch for commit 256d04b60d80bf1190e96b0ad1e91b2174d744b1.
- Update libssh2 to a version patched against integer overflow.
Public PoC/Exploit Available at Github
CVE-2026-7598 has a 1 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-7598.
| URL | Resource |
|---|---|
| https://github.com/libssh2/libssh2/ | Product |
| https://github.com/libssh2/libssh2/commit/256d04b60d80bf1190e96b0ad1e91b2174d744b1 | Patch |
| https://github.com/libssh2/libssh2/pull/1858 | Issue Tracking |
| https://vuldb.com/submit/805564 | Third Party Advisory VDB Entry |
| https://vuldb.com/vuln/360555 | Third Party Advisory VDB Entry |
| https://vuldb.com/vuln/360555/cti | Permissions Required VDB Entry |
| https://vuldb.com/submit/805564 | Third Party Advisory VDB Entry |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-7598 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-7598
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
Dockerfile Python Shell Makefile
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-7598 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-7598 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
May. 07, 2026
Action Type Old Value New Value Added CPE Configuration OR *cpe:2.3:a:libssh2:libssh2:*:*:*:*:*:*:*:* versions up to (including) 1.11.1 Added Reference Type VulDB: https://github.com/libssh2/libssh2/ Types: Product Added Reference Type VulDB: https://github.com/libssh2/libssh2/commit/256d04b60d80bf1190e96b0ad1e91b2174d744b1 Types: Patch Added Reference Type VulDB: https://github.com/libssh2/libssh2/pull/1858 Types: Issue Tracking Added Reference Type CISA-ADP: https://vuldb.com/submit/805564 Types: Third Party Advisory, VDB Entry Added Reference Type VulDB: https://vuldb.com/submit/805564 Types: Third Party Advisory, VDB Entry Added Reference Type VulDB: https://vuldb.com/vuln/360555 Types: Third Party Advisory, VDB Entry Added Reference Type VulDB: https://vuldb.com/vuln/360555/cti Types: Permissions Required, VDB Entry -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
May. 04, 2026
Action Type Old Value New Value Added Reference https://vuldb.com/submit/805564 -
New CVE Received by [email protected]
May. 01, 2026
Action Type Old Value New Value Added Description A security vulnerability has been detected in libssh2 up to 1.11.1. The impacted element is the function userauth_password of the file src/userauth.c. Such manipulation of the argument username_len/password_len leads to integer overflow. The attack may be launched remotely. The name of the patch is 256d04b60d80bf1190e96b0ad1e91b2174d744b1. A patch should be applied to remediate this issue. Added CVSS V4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L Added CVSS V2 (AV:N/AC:L/Au:N/C:P/I:P/A:P) Added CWE CWE-189 Added CWE CWE-190 Added Reference https://github.com/libssh2/libssh2/ Added Reference https://github.com/libssh2/libssh2/commit/256d04b60d80bf1190e96b0ad1e91b2174d744b1 Added Reference https://github.com/libssh2/libssh2/pull/1858 Added Reference https://vuldb.com/submit/805564 Added Reference https://vuldb.com/vuln/360555 Added Reference https://vuldb.com/vuln/360555/cti